﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Model
{

    /// <summary>
    /// 会员信息主表
    /// </summary>
    public class sys_admin
    {

        [Key]
        public int id { get; set; }

        [Column(TypeName = "varchar(255)")]
        public string admin_guid { get; set; }

        [Column(TypeName = "varchar(255)")]
        public string admin_name { get; set; }

        [Column(TypeName = "varchar(255)")]
        public string admin_password { get; set; }


        public int org_id { get; set; }

        [Column(TypeName = "varchar(255)")]
        public string member_name { get; set; }


        public int member_id { get; set; }


        public DateTime admin_login_time { get; set; }


        public int admin_login_num { get; set; }

        [Column(TypeName = "varchar(255)")]
        public string admin_tel { get; set; }

        [Column(TypeName = "tinyint(1)")]
        public bool admin_is_super { get; set; }


        public int admin_gid { get; set; }


        public int admin_status { get; set; }




    }
}
